/testing
group(ID=iron_shovel;ID=iron_shovel;ID=iron_shovel)@luck=-1
group(ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment);ID=enchanted_book,NBTTag=(StoredEnchantments=#randomEnchantment))@luck=-1
ID=mycelium,NBTTag=(display=(Name="$5Purple Dirt")),amount=#rand(16,32)@luck=-1@chance=0.4

/all type tools
group(ID=wooden_sword;ID=wooden_shovel;ID=wooden_pickaxe;ID=wooden_axe;ID=wooden_hoe)@luck=-2
group(ID=stone_sword;ID=stone_shovel;ID=stone_pickaxe;ID=stone_axe;ID=stone_hoe)@luck=-2
group(ID=golden_sword;ID=golden_shovel;ID=golden_pickaxe;ID=golden_axe;ID=golden_hoe)@luck=0
group(ID=iron_shovel;ID=iron_pickaxe;ID=iron_sword;ID=iron_hoe;ID=iron_axe)@luck=0
group(ID=diamond_shovel;ID=diamond_pickaxe;ID=diamond_sword;ID=diamond_hoe;ID=diamond_axe)@luck=1

/Tools/Items
type=item,ID=diamond_axe,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$b$2Betty"))@luck=2@chance=0.3
type=item,ID=bread,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$l$6Loaf of Bread"))@luck=1@chance=0.6
ID=arrow,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$e$lLucky Arrow"))@luck=0
ID=dirt,NBTTag=(ench=#luckySwordEnchantments,display=(Name="#b#lEpic Dirt"))@luck=1@chance=0.8
type=item,ID=sugar,NBTTag=(ench=#luckySwordEnchantments,display=(Name="$b$3Charleston Chew"))@luck=0@chance=0.7
type=item,ID=sponge,NBTTag=(ench=#luckyBowEnchantments,display=(Name="$b$1Spongebob"))@luck=1@chance=1.3
type=item,ID=beacon,NBTTag=(display=(Name="$b$7Wet Beacon"))@luck=2@chance=0.2


/lucky potion
ID=potion,damage=8195,NBTTag=(CustomPotionEffects=#luckyPotionEffects,display=(Name="$l$6Lucky Potion"))@luck=2



/unlucky potion
ID=potion,damage=16428,NBTTag=(CustomPotionEffects=#unluckyPotionEffects,display=(Name="$l$2Unlucky Potion"))@luck=0

/explosions
type=explosion,radius=12,fire=false@luck=-2@chance=0.4
type=explosion,radius=1,fire=false@luck=-1@chance=1.3

/things to print in chat
type=message,ID="Peter Piper picked a peck of pickled peppers"@luck=-1
group(type=command,ID="/tell #pName Hey, #pName, Have a diamond";ID=diamond,NBTTag=(display=(Name="$b$lDiamond")))@chance=0.2@luck=0


/trolls
group(type=message,ID="The Cow Goes: Moooooo";type=entity,ID=Cow,NBTTag=(CustomName="$l$6Cow",CustomNameVisible=true))@luck=-1
group(type=message,ID="$ejeb_ joined the game";type=entity,ID=Sheep,NBTTag=(CustomName="jeb_",CustomNameVisible=true))@chance=1.1@luck=1
ID=clock,NBTTag=(display=(Name="You're wasting your time"))@luck=0@chance=0.7
ID=fish,damage=3,NBTTag=(display=(Name="Oooooh!")))@luck=-1@chance=1.1

/chests

/mobs that spawn
group(type=difficulty,ID=hard;type=entity,ID=Skeleton,NBTTag=(Equipment=[(id=bow,Count=1,tag=(ench=#luckyBowEnchantments)),(id=diamond_helmet,Count=1,tag=(ench=#luckyHelmetEnchantments)),(id=diamond_chestplate,Count=1,tag=(ench=#luckyChestplateEnchantments)),(id=diamond_leggings,Count=1,tag=(ench=#luckyLeggingsEnchantments)),(id=diamond_boots,Count=1,tag=(ench=#luckyBootsEnchantments))],DropChances=[#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f,#randList(0,2)f],CustomName="$b$4Peter",CustomNameVisible=true))@luck=-2@chance=0.5
group(type=entity,ID=Pig,NBTTag=(CustomName="$b$6Lucky Pig",CustomNameVisible=true);type=entity,ID=Cow,NBTTag=(CustomName="$b$6Lucky Cow",CustomNameVisible=true);type=entity,ID=Chicken,NBTTag=(CustomName="$b$6Lucky Chicken",CustomNameVisible=true);type=entity,ID=Sheep,NBTTag=(CustomName="$b$6Lucky Sheep",CustomNameVisible=true);type=entity,ID=Rabbit,NBTTag=(CustomName="$b$6Lucky Rabbit",CustomNameVisible=true);type=entity,ID=Squid,NBTTag=(CustomName="$b$6Unlucky Squid",CustomNameVisible=true))@luck=0@chance=0.5
type=entity,ID=Creeper,NBTTag=(ExplosionRadius=0,powered=#rand(0,1),Fuse=999999,CustomName="$aPassive Creeper",CustomNameVisible=true)@luck=2@chance=0.4
type=entity,ID=Creeper,NBTTag=(ExplosionRadius=7,powered=#rand(0,1),Fuse=1,CustomName="$aBye",CustomNameVisible=true)@luck=0
type=entity,ID=Silverfish,amount=10,Fuse:0)scatterOffset=1-2,reinitialize=true@luck=-2@chance=0.8



/super rare stuff
type=entity,ID=Wither,NBTTag=(CustomName="$l$4Wither Mama",CustomNameVisible=true)@luck=2@chance=0.4

